import { PageContainer, ProTable } from "@/components"
import {getRoleList} from "@/services/system/role";

const columns = [
    {
        title: '角色名称',
        dataIndex: 'name',
        key: 'name',
        hideInSearch: false,
    },
    {
        title: '角色编码',
        dataIndex: 'code',
        key: 'code',
        hideInSearch: false,
    },
    {
        title: '描述',
        dataIndex: 'remark',
        key: 'remark',
    },
    {
        title: '创建时间',
        dataIndex: 'createAt',
    }

]

export default () => {
    return <PageContainer>
        <ProTable columns={columns} request={getRoleList}/>
    </PageContainer>
}
